<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    function bb(){
        this.height = 199;
        this.color = 'yellow';
        this.money = 9999999;
    }

    function cc(){
        bb.call(this);//构造函数
    }

   cc.prototype.run = function(){ console.log('running'); } ;//原型链

    var s1 = new cc()
    var s2 = new cc()
    var s3 = new cc()
    console.log(s1,s2,s3);

</script>